[Xend] Fix problem when destroying VMs using the Xen-API
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 13 Jul 2007 12:43:29 +0000 (13:43 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 13 Jul 2007 12:43:29 +0000 (13:43 +0100)
commit98ee5b6406187d9a6e5496296165d40661c8c491
tree30a5b9e1c42582379257f58ac50b8b10c782231b
parent9de675c1b3966a9decd5f79f2e861f22b491dbf8
[Xend] Fix problem when destroying VMs using the Xen-API

When domains are destroyed/suspend-resume/migration using the Xen-API
things break due to the domid not having been reset. This patch fixes
this. This is the best place I found for fixing this problem. I could
not push this line into _stateSet() for the case of DOM_STATE_HALTED
and left a comment regarding this.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xend/XendDomainInfo.py